<?php


    $password = array(
                        'name'        => 'password',
                        'id'          => 'lname',
                        'size'        => '30',
                    );

    $repassword = array(
                        'name'        => 'repassword',
                        'id'          => 'lname',
                        'size'        => '30',
                    );
    $oldpassword = array(
                        'name'        => 'oldpassword',
                        'id'          => 'oldpassword',
                        'size'        => '30',
                    );
            $submit = array(
                        'name'        => 'ok',
                        'value'          => 'UPDATE',
                    );
?>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="<?php echo base_url('public_source/css_source/register.css')?>" rel="stylesheet" type="text/css">
    </head>
    <body>
        <div ID="box_entry" style="float: left; background-color: white; margin-left: 315px">
            <div id="Detail_Register">
                <div class="error">
                    <?php
                        echo validation_errors('<li>','</li>');
                        if(isset($error) && $error!="" && !empty($error))
                            echo $error;
                    ?>
                </div>
                <form action="" method="post" enctype="multipart-formdata">
                    <table cellspacing="15px">
                        <tr>
                            <td>Mật khẩu cũ</td>
                            <td><?php echo form_input($oldpassword);?></td>
                        </tr>
                        <tr>
                            <td>Mật khẩu mới</td>
                            <td><?php echo form_input($password);?></td>
                        </tr>
                        <tr>
                            <td>Nhập lại mật khẩu mới</td>
                            <td><?php echo form_input($repassword);?></td>
                        </tr>
                            <td></td>
                            <td><?php echo form_submit($submit)?></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </body>
</html>